Skip to content

fix: Treat certifications like other in-memory states to keep around when pruning. Reverts the revert of async hashing.#10071

Open
michael-weigelt wants to merge 15 commits intomasterfrom
mwe/async_hashing_2
Open

fix: Treat certifications like other in-memory states to keep around when pruning. Reverts the revert of async hashing.#10071
michael-weigelt wants to merge 15 commits intomasterfrom
mwe/async_hashing_2

Conversation

@michael-weigelt
Copy link
Copy Markdown
Contributor

@michael-weigelt michael-weigelt commented Apr 30, 2026

When pruning states below a certain height, we keep around some special heights anyway (such as the tip_height). This must be true for both certification_metadata and certifications.

This also reverts the revert of #8464

@michael-weigelt michael-weigelt requested review from a team as code owners April 30, 2026 11:49
@github-actions github-actions Bot added the fix label Apr 30, 2026
Comment thread rs/state_manager/tests/state_manager.rs
Comment thread rs/state_manager/src/lib.rs Outdated
Comment thread rs/state_manager/src/lib.rs
Comment thread rs/state_manager/src/lib.rs
Comment thread rs/state_manager/src/lib.rs Outdated
Comment thread rs/state_manager/src/lib.rs
@schneiderstefan
Copy link
Copy Markdown
Contributor

Does this intentionally also revert the revert? Can't the fix go in independently?

Comment thread rs/state_manager/tests/state_manager.rs
Comment thread rs/state_manager/tests/state_manager.rs
@mraszyk
Copy link
Copy Markdown
Contributor

mraszyk commented Apr 30, 2026

Does this intentionally also revert the revert? Can't the fix go in independently?

I think it's better to revert the revert so that we don't need to separate the changes...

@schneiderstefan
Copy link
Copy Markdown
Contributor

I think it's better to revert the revert so that we don't need to separate the changes...

That's ok, but then the title and description should reflect that too.

@michael-weigelt michael-weigelt changed the title fix: Treat certifications like other in-memory states to keep around when pruning. fix: Treat certifications like other in-memory states to keep around when pruning. Reverts the revert of async hashing. May 4, 2026
Comment thread rs/state_manager/tests/state_manager.rs
Comment thread rs/state_machine_tests/src/lib.rs Outdated
Comment thread rs/state_manager/src/lib.rs Outdated
Comment thread rs/state_manager/tests/state_manager.rs
Comment thread rs/state_manager/tests/state_manager.rs Outdated
Comment thread rs/state_manager/tests/state_manager.rs
Comment thread rs/state_manager/src/lib.rs Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants